#source 'https://github.com/CocoaPods/Specs.git'
source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'

platform :ios, '12.0'

# 忽略引入库的所有警告
inhibit_all_warnings!

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 12.0
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
      end
    end
  end
end

target 'XSDownloadDemo' do

  pod 'Masonry'
  pod 'JQFMDB'
  pod 'AFNetworking'
  pod 'GKNavigationBar'
  pod 'ZFPlayer'
  pod 'ZFPlayer/AVPlayer'
  pod 'ZFPlayer/ControlView'
  pod 'SJMediaCacheServer'
  pod 'SJUIKit/SQLite3'

end
